﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CastingWellEquipmentGUI.Model
{
    public class RecipeVerificationConfig : ObservableObject
    {

        private int _OrderNo;
        public int OrderNo
        {
            get { return _OrderNo; }
            set
            {
                _OrderNo = value;
                RaisePropertyChanged(() => OrderNo);
            }
        }
        private int _Id;
        public int Id
        {
            get { return _Id; }
            set
            {
                _Id = value;
                RaisePropertyChanged(() => Id);
            }
        }
        /// <summary>
        /// 验证项名称
        /// </summary>
        private string _ItemName;
        /// <summary>
        /// 验证项名称
        /// </summary>
        public string ItemName
        {
            get { return _ItemName; }
            set
            {
                _ItemName = value;
                RaisePropertyChanged(() => ItemName);
            }
        }
        /// <summary>
        /// 验证项说明
        /// </summary>
        private string _ItemExplain;
        /// <summary>
        /// 验证项说明
        /// </summary>
        public string ItemExplain
        {
            get { return _ItemExplain; }
            set
            {
                _ItemExplain = value;
                RaisePropertyChanged(() => ItemExplain);
            }
        }
        /// <summary>
        /// 验证项标签主键
        /// </summary>
        private int _TagId;
        /// <summary>
        /// 验证项标签主键
        /// </summary>
        public int TagId
        {
            get { return _TagId; }
            set
            {
                _TagId = value;
                RaisePropertyChanged(() => TagId);
            }
        }

        /// <summary>
        /// 数据标签主键
        /// </summary>
        private int _DataTagId;
        /// <summary>
        /// 数据标签主键
        /// </summary>
        public int DataTagId
        {
            get { return _DataTagId; }
            set
            {
                _DataTagId = value;
                RaisePropertyChanged(() => DataTagId);
            }
        }

        /// <summary>
        /// 数据标签名称
        /// </summary>
        private string _DataTagName;
        /// <summary>
        /// 数据标签名称
        /// </summary>
        public string DataTagName
        {
            get { return _DataTagName; }
            set
            {
                _DataTagName = value;
                RaisePropertyChanged(() => DataTagName);
            }
        }
        /// <summary>
        /// 数据标签地址
        /// </summary>
        private string _DataTagAddress;
        /// <summary>
        /// 数据标签地址
        /// </summary>
        public string DataTagAddress
        {
            get { return _DataTagAddress; }
            set
            {
                _DataTagAddress = value;
                RaisePropertyChanged(() => DataTagAddress);
            }
        }
        /// <summary>
        /// 数据标签PLC品牌
        /// </summary>
        private string _DataTagBrandName;
        /// <summary>
        /// 数据标签PLC品牌
        /// </summary>
        public string DataTagBrandName
        {
            get { return _DataTagBrandName; }
            set
            {
                _DataTagBrandName = value;
                RaisePropertyChanged(() => DataTagBrandName);
            }
        }

        /// <summary>
        /// 数据标签PLC型号
        /// </summary>
        private string _DataTagPlcModelName;
        /// <summary>
        /// 数据标签PLC型号
        /// </summary>
        public string DataTagPlcModelName
        {
            get { return _DataTagPlcModelName; }
            set
            {
                _DataTagPlcModelName = value;
                RaisePropertyChanged(() => DataTagPlcModelName);
            }
        }


        /// <summary>
        /// 存储标签主键
        /// </summary>
        private int _StorageTagId;
        /// <summary>
        /// 存储标签主键
        /// </summary>
        public int StorageTagId
        {
            get { return _StorageTagId; }
            set
            {
                _StorageTagId = value;
                RaisePropertyChanged(() => StorageTagId);
            }
        }

        /// <summary>
        /// 存储标签名称
        /// </summary>
        private string _StorageTagName;
        /// <summary>
        /// 存储标签名称
        /// </summary>
        public string StorageTagName
        {
            get { return _StorageTagName; }
            set
            {
                _StorageTagName = value;
                RaisePropertyChanged(() => StorageTagName);
            }
        }
        /// <summary>
        /// 存储标签地址
        /// </summary>
        private string _StorageTagAddress;
        /// <summary>
        /// 存储标签地址
        /// </summary>
        public string StorageTagAddress
        {
            get { return _StorageTagAddress; }
            set
            {
                _StorageTagAddress = value;
                RaisePropertyChanged(() => StorageTagAddress);
            }
        }
        /// <summary>
        /// 存储标签PLC品牌
        /// </summary>
        private string _StorageTagBrandName;
        /// <summary>
        /// 存储标签PLC品牌
        /// </summary>
        public string StorageTagBrandName
        {
            get { return _StorageTagBrandName; }
            set
            {
                _StorageTagBrandName = value;
                RaisePropertyChanged(() => StorageTagBrandName);
            }
        }

        /// <summary>
        /// 存储标签PLC型号
        /// </summary>
        private string _StorageTagPlcModelName;
        /// <summary>
        /// 存储标签PLC型号
        /// </summary>
        public string StorageTagPlcModelName
        {
            get { return _StorageTagPlcModelName; }
            set
            {
                _StorageTagPlcModelName = value;
                RaisePropertyChanged(() => StorageTagPlcModelName);
            }
        }






        private string _TagName;

        public string TagName
        {
            get { return _TagName; }
            set
            {
                _TagName = value;
                RaisePropertyChanged(() => TagName);
            }
        }



        private string _BrandName;

        public string BrandName
        {
            get { return _BrandName; }
            set
            {
                _BrandName = value;
                RaisePropertyChanged(() => BrandName);
            }
        }


        private string _Address;

        public string Address
        {
            get { return _Address; }
            set
            {
                _Address = value;
                RaisePropertyChanged(() => Address);
            }
        }

        private string _PlcModelName;

        public string PlcModelName
        {
            get { return _PlcModelName; }
            set
            {
                _PlcModelName = value;
                RaisePropertyChanged(() => PlcModelName);
            }
        }
    }
}
